package com.changan.system.service;

import com.changan.response.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author NieChangan
 */
@FeignClient(name = "ketai-education-user")
public interface LoginService {

    @GetMapping("/user/login")
    Result login(@RequestParam("mobile") String mobile, @RequestParam("mobile_psw") String mobile_psw);
}
